package com.wsz.pojo;

import java.util.List;
import java.util.Map;

/**
 * 2022 11 23 19:40
 */
public class Demo {
    @Override
    public String toString() {
        return "Demo{" +
                "id=" + id +
                ", map=" + map +
                ", age=" + age +
                ", name='" + name + '\'' +
                ", animal=" + animal +
                '}';
    }

    private Integer id;
    private Map<String,String> map;
    private Integer age;
    private String name;
    private List<String> animal;
    private User user1;

    public Demo() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Map<String, String> getMap() {
        return map;
    }

    public void setMap(Map<String, String> map) {
        this.map = map;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<String> getAnimal() {
        return animal;
    }

    public void setAnimal(List<String> animal) {
        this.animal = animal;
    }

    public Demo(Integer id, Map<String, String> map, Integer age, String name, List<String> animal) {
        this.id = id;
        this.map = map;
        this.age = age;
        this.name = name;
        this.animal = animal;
    }
}